public class java1 {
    public static void main(String[] args) {
//        Scanner sc = new Scanner(System.in);
//        System.out.println();
//        int num = sc.nextInt();
//        int a = 10;
//        int b = 20;
//        int c = 30;
//        int banjue = a > b ? a : b;
//        int juesai = c>b?c:b;
//        System.out.println("前二"+banjue);
//        System.out.println("第一"+juesai);
        double a =10.1;
        double b = 20.1;
        double c = 30.1;
        double dier = a>b?a:b;
        double diyi = b>c?b:c;
        System.out.println("第一"+diyi);
    }
}
